; mIRC to X-Bot User Interface
;
; Part of LogicX Software's X-Bot 2003
; (c) 2002 OverTech Technologies
;
; You may distribute this script freely under the terms of the GNU Public License
; -------------------------------------------------------------------------------

menu nicklist {
  X-Bot (Highlight the Bot's Nickname): 
  .X-Bot 2003 - A Product of www.OverTech.tk: /msg $$1 help
  .-
  .Login to the bot (auth): {
    set %xbotpassword $encode( $$?="Enter your password" )
    /msg $$1 auth $decode( %xbotpassword ) 
  }
  .Change your password (pass): {
set %newpass $encode( $$?="Enter your new password" )

/msg $$1 pass $decode( %xbotpassword ) $decode( %newpass )
%xbotpassword = %newpass

unset %newpass
}
  .Logout of the bot (deauth): /msg $$1 deauth
  .Change my comment for this channel: /msg $$1 comment $$?="Enter your comment"
  .-
  .Get Information about a user (access): /msg $$1 access $chan $$?="Enter nickname of person you want info about"
  .List My Commands (commands): /msg $$1 commands $chan
  .Find the Time a User was Last Seen (seen): /msg $$1 seen $$?="What's the nickname of the person you are looking for?"
  .-
  .Channel Commands
  ..Modify Onjoin
  ...View Onjoin (Onjoin Debug): /say $$1 onjoin debug
  ...Add an Item to the Onjoin (Onjoin Add): /say $$1 onjoin add $$?="Add a Message to the Onjoin"
  ...Replace an Item in the Onjoin (Onjoin Replace): /say $$1 onjoin replace $$?="Line to replace? (enter line number)" $$?="Change this message to..."
  ...-
  ...Clear the Onjoin (Onjoin Clear): /say $$1 onjoin clear
  ..-
  ..DeVoice someone (Devoice): /msg $$1 devoice $chan $$?="Who should be devoiced?"
  ..Voice someone (Voice): /msg $$1 voice $chan $$?="Who should be voiced?"
  ..-
  ..DeOp Someone (Deop): /msg $$1 deop $chan $$?="Who should be deoped?"
  ..Op Someone (Op): /msg $$1 op $chan $$?="Who should be oped?"
  ..-
  ..Kick Someone (Kick): /msg $$1 kick $chan $$?="Who do you want to kick?" $$?="Why do you want to kick this person?"
  ..Ban and Kick Someone (Ban): /msg $$1 ban $chan $$?="Who do you want to ban?" $$?="Length of Time for Ban to be In Effect (use m for minutes, h for hours, d for days)" $$?="Why do you want to ban this person?"
  ..Unban Someone (Unban): /msg $$1 unban $chan $$?="Who do you want to unban?"
  ..-
  ..Change Channel Topic (Topic): /msg $$1 topic $chan $$?="What do you want to change the topic in this channel to?"
  ..Invite Someone to This Channel (Invite): /msg $$1 invite $chan $$?="Nickname of person to invite to this channel"
  ..Change Channel Modes (Modes): /msg $$1 mode $chan $$?="Enter raw modes to add to this channel"
  ..Remove all Channel Modes (Killmodes): /msg $$1 killmodes $chan
  ..-
  ..Have Bot Leave Then Re-Enter Channel (Cycle): /msg $$1 cycle $chan
  .User Maintenance
  ..Remove a channel user from the bot (Userdel): /msg $$1 userdel $$?="Enter the nickname of the person you wish to remove"
  ..Remove a global user from the bot (Userdel): /msg $$1 userdel $$?="Enter the nickname of the person you wish to remove" global
  ..Add a user to the bot for this channel (Useradd): /msg $$1 useradd $chan $$?="Enter nickname of person you wish to add" $$?="Enter the access level this person should have (see 'help useradd')"
  ..Add a user to the bot global (Useradd): /msg $$1 useradd global $$?="Enter nickname of person you wish to add" $$?="Enter the access level this person should have (see 'help useradd')"
  ..Modify a user's access (Usermod): /msg $$1 usermod $chan $$?="Enter nickname of person you wish to add" $$?="Enter the access level this person should have now (see 'help useradd')"
  ..-
  ..Disable/Suspend a user's account (Disable): /msg $$1 disable $chan $$?="Nickname of person who's account you wish to disable"
  ..Enable/Unsuspend a user's account (Enable): /msg $$1 enable $chan $$?="Nickname of person who's account you wish to enable"
  .Bot Commands
  ..Make this bot Pretend to be a Person
  ...Have the bot say a Message in this Channel (Say): /msg $$1 say $chan $$?="What should the bot say?"
  ...Have the bot act Aomething out in this Channel (Act): /msg $$1 act $chan $$?="Action this bot should do"
  ...-
  ...Have the bot Send a Private Message to Someone (Sndmsg): /msg $$1 sndmsg $$?="Nickname to have this bot send a private message to" $$?="Contents of Private Message to be sent"
  ...Have the bot Send a Private Notice to Someone (Sndnotice): /msg $$1 sndnotice $$?="Nickname to have this bot send a private notice to" $$?="Contents of Private Notice to be sent"
  ..Send a Message to All Channels This Bot is in (Broadcast): /msg $$1 broadcast $$?="Message to send to every room"
  ..-
  ..Save User List in case the Bot Crashes: /msg $$1 save
  ..-
  ..Add this bot to a Channel (Addchan): /msg $$1 addchan $$?="Channel to add this bot to"
  ..Remove this bot from a channel (Remchan): /msg $$1 remchan $$?="Channel to remove ths bot from"
  ..-
  ..Refresh all bot settings (Rehash): /msg $$1 rehash
  ..Take the bot Offline then bring it back Online Immediately (Restart): /msg $$1 restart
  ..-
  ..Take the bot offline and close it (Core): /msg $$1 core
  .Bot Information
  ..Show Bot's Administrator (Admin): /msg $$1 admin
  ..List All Bot Maintenance personnel (Userlist Global): /msg $$1 userlist global
  ..Show General Settings (Help): /msg $$1 help
  ..List All Channels This Bot is In: /msg $$1 chanstats
  ..List People Who Built This Bot (Credits): /msg $$1 credits
  ..What Version of X-Bot is This Bot Running? (Version): /msg $$1 version
  ..Display IRC Servers this bot is Configured to Use (Servers): /msg $$1 servers
  .Channel Information
  ..List Individuals Whom Are Banned (Banlist): /msg $$1 banlist $chan
  ..List All Users for $chan (Userlist $chan $+ ): /msg $$1 userlist $chan
  ..List All Users for $chan of a Specific Access Level (userlist $chan <level>): /msg $$1 userlist $chan $$?="List All Users of What Access Level?"
  .Notes
  ..List all of my notes on this bot (Notes <pass> index): /msg $$1 notes $decode( %xbotpassword ) index
  ..Read a specific note (Notes <pass> read <number>): /msg $$1 notes $decode( %xbotpassword ) read $$?="Read which message? (imput a number)"
  ..Delete a specific note (Notes <pass> erase <number>): /msg $$1 notes $decode( %xbotpassword ) erase $$?="Delete which message? (imput a number)"
  ..Send a Note to Someone (Notes <pass> erase <nick> <message>):  /msg $$1 notes $decode( %xbotpassword ) to $$?="Send a Message to who?" $$?="Enter Message to Send"


}
